-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prep for HAL 0.5.0 release #351
Conversation
Well this is fun. |
Those circular dependencies really get annoying. For i2c-pio I already suggested moving the example https://github.com/ithinuel/i2c-pio-rs/pull/6. As those examples already depend on a git version of ws2812-pio, it's easy to work around by pointing to an updated git version, eg.:
(Just an example - of course @ithinuel could include the updated dependency in his own git, no need to point to my fork.) We could also include a vendored version of ws2812-pio somewhere inside https://github.com/rp-rs/rp-hal so we could keep the versions in sync. As ws2812-pio is basically a single small source file, that wouldn't cause much overhead. |
Yeah, I agree. I've started down the vendoring approach too. |
Instead of vendoring inside of the rp-hal repo we could also have a downstream fork of those repos under rp-rs. |
If we start adding new repos I think I'd prefer a separate repo for the BSPs, as you suggested above. |
I was planning on having a discussion on how we maintain BSPs after this release was out, so if we can find a clean solution that will get us past this issue that would be my preference. |
Hmm no, if I select a range of versions for ws2812 that would be locking us out of finishing the PIO fifo changes during 0.5, which I absolutely do not want. |
As a reminder I'm ok to move the ws2812b-pio-rs & i2c-pio-rs to the rp-rs org instead of maintaining a fork or having to vendor it. |
Thanks, I forgot you said that it was okay. |
What about this sequence of changes?
Step 5 isn't a breaking change, as those are just dev-dependencies for the examples. And I guess most people copying the examples are getting them form github anyways, so it doesn't matter which versions the release points to. |
I still want to get the FIFO changes across the line for 0.5.0. |
6c9e948
to
2aa93cf
Compare
How shall we handle the board support packages? |
When releasing new versions of the BSPs, we should also update their changelogs, and I noticed some of them contain broken links to non-existing tags, e.g. in https://github.com/rp-rs/rp-hal/blob/main/boards/adafruit-feather-rp2040/CHANGELOG.md To not delay the HAL release, I'd prefer to do the BSP releases later. |
I've usually left BSP release stuff until after the HAL is out. Some of them have not even had a release yet. |
Update the changelog with all HAL changes, bump version number